﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/CC.Yacht.Messages" xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/CC.Yacht.Messages" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/CC.Yacht" />
  <xs:complexType name="LoginResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseResponse">
        <xs:sequence>
          <xs:element minOccurs="0" name="SessionId" type="ser:guid" />
          <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/CC.Yacht" minOccurs="0" name="User" nillable="true" type="q1:User" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LoginResponse" nillable="true" type="tns:LoginResponse" />
  <xs:complexType name="BaseResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="ErrorId" type="xs:long" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/CC.Yacht" minOccurs="0" name="ErrorType" type="q2:ErrorType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BaseResponse" nillable="true" type="tns:BaseResponse" />
  <xs:complexType name="JoinGameResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseResponse">
        <xs:sequence>
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/CC.Yacht" minOccurs="0" name="GameState" nillable="true" type="q3:GameState" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="JoinGameResponse" nillable="true" type="tns:JoinGameResponse" />
  <xs:complexType name="JoinLobbyResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:BaseResponse">
        <xs:sequence>
          <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/CC.Yacht" minOccurs="0" name="Games" nillable="true" type="q4:ArrayOfGame" />
          <xs:element minOccurs="0" name="LobbyId" type="ser:guid" />
          <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/CC.Yacht" minOccurs="0" name="Users" nillable="true" type="q5:ArrayOfUser" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="JoinLobbyResponse" nillable="true" type="tns:JoinLobbyResponse" />
</xs:schema>